package org.khd.auth.service;

import org.khd.auth.domain.Role;
import org.khd.auth.dto.RoleDto;
import org.khd.base.service.IBaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author saber
 * @since 2024-04-08
 */
public interface IRoleService extends IBaseService<Role> {

    void addOrUpdate(RoleDto roleDto);

    List<Long> getPermissionById(Long id);
}
